<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="../css/bootstrap.min.css"/>
		<style>
			#div1{
				width:100px;
				height: 100px;
				background: red;
				transition: all 3s ;
			}
			#div1:hover{
				background: green;
			}
		</style>
	</head>
	<body>
		<div id="div1"></div>
			<script src="../js/jquery-1.12.4.js"></script>
			<script src="../js/transition.js"></script>
			<script>
				var div = document.getElementById('div1');
				div.addEventListener('transitionend',function(e){
					alert("浏览器支持过渡效果");
				})
			</script>
	</body>
</html>
